const express = require('express')
const router = express.Router();

const dataService = require('./dataService.js')

// 查询接口
router.get('/', async (req, res) => {
    const users = await dataService.select();
    res.json(users);
});

module.exports = router